package com.deng.common.dao;

import java.util.List;

import com.deng.common.vo.DispenseOrganizationVo;
import com.deng.common.vo.EmployeeVo;
import com.deng.common.vo.FunctionVo;

public interface IFunction {

	public FunctionVo getFunctionByName(String function_name);
//	public List<FunctionVo> getFunctionsByOrganizationId(int oid,int filter);
	
	public FunctionVo getFunctionById(int id);

	public String formulaTest(String str,int organization_id,int duty_id,String date);
	public String formulaTestOperate(String str,int operate_id,String date);
	public List<EmployeeVo> formulaTest2(String testFormula,int dispense_id, String date);
	public List<EmployeeVo> formulaTest2DispenseRecent(DispenseOrganizationVo dVo);
	
//	public String convertToFunctionDetail(String name);
//	public String convertToFunctionName(String detail);
	public List<FunctionVo> getAllFunction();
	public List<FunctionVo> getAllFunction2();
	public List<FunctionVo> getAllFunctionOperate();
	
	
	public List<FunctionVo> getAllFN();
	public FunctionVo getFNDetail(FunctionVo vo);
	public String updateAndGetFN(String sql);
	

//	public List<FunctionVo> getVoteFunctionByOrganizationId(int oid,int filter);
	
	public List<EmployeeVo> getAndUpdateEmpGongzuojixiao(DispenseOrganizationVo vo);
	
	
	
	public String getFunctionChinese(String str);
	public String getFunctionChineseAndDetail(String str);
}
